package com.zhongnan.demo7.volatile1;

public class Xiaojie extends Thread {
    @Override
    public void run() {
        while(Money.money == 10000) {
        }
        System.out.println("钱没有了");
    }
}
